package arraysCommonMethods;

import java.util.Arrays;

/**
 * @ClassName ArraysDeepToString
 * @Description 二维数组打印
 * @Author 李明忠
 * @Date 2025/5/21 22:44
 * @Version 1.0
 */
public class ArraysDeepToString {
    public static void main(String[] args) {
        /*
        * Arrays.deepToString(arr)
        * 将二维数组转为字符串必须使用深度转换
        * */
        int[][] arr = {{2,3,4},{1,2,4},{5,6,7}};
        System.out.println(Arrays.deepToString(arr));
    }
}
